Mammals may have flown before birds