Impact of temporal scales and recurrent mobility patterns on the unfolding of epidemics