Scientists have found fossil evidence of a giant prehistoric snake that was so large it could devour crocodiles.