Never-before-seen pterosaur had nearly 500 teeth and ate like a flamingo