A man who was walking with his dog accidentally recorded tsunami waves