The Jahn–Teller effect in the SrLaGa3O7:Co system