Five police officers have died after a small plane crashed into the ocean near a popular beach town in Thailand, according to local authorities.