Simple proof of the Jahn-Teller theorem