Novelist explains how he became climate skeptic: ‘Planet gets transmogrified into a goddess in the minds of the faithful’