Paleobiological and isotopic studies of eggshells from a declining dinosaur species