The effects of climate change on the spread of infectious diseases