Ex-teacher Farina to lead NYC schools