Obama lectures California on climate change