Rise and fall of prehistoric penguin populations charted