qualifications needed to be a secondary school teacher