South Korean high court sentences ex-spy chief to 3 years in jail for election meddling