Ofsted cannot conduct an impartial review into allegations of sex abuse in schools, a teaching union says.