Jahn–Teller splitting and Zeeman effect of acceptors in diamond