Mexico high court OKs preference for state power plants