Foreign Secretary Boris Johnson has been caught on camera in Myanmar reciting a colonial poem before being stopped by an ambassador.