Decoupling body shape and mass distribution in birds and their dinosaurian ancestors