'Prehistoric footwear' was discovered in Spanish cave by miners, scientists reveal in new study