Prehistoric footprints on Formby Beach have revealed how the British coast transformed over 9,000 years.