Scientists developed autonomous drones that can fly in the air and dive underwater