Lighthouses around the world are being moved away from shores that are receding due to climate change.