The influential but often overlooked writer celebrated nature from his Californian coastal outpost — and warned of the climate crisis decades before others