Psychologists from 40 countries pledged to use their jobs to address climate change