The jahn-teller effect in crystal chemistry and spectroscopy