Hasidic NYPD recruit says he was fired over beard length