Researchers have shown how the shape of a crocodile's snout could determine its ability to feast on certain types of prey, from large mammals to small fish.