How a school improved its exam results by focusing on good behaviour