Moving toward sustainable agriculture through a better understanding of farmer perceptions and attitudes to cope with climate change