Temporal niche expansion in mammals from a nocturnal ancestor after dinosaur extinction