Jahn-Teller effects in metalloporphyrins and other four-fold symmetric systems