Obama attributes wildfires to climate change