Why were early mammals active at night