Foraging modes of Mesozoic birds and non-avian theropods