Convergent evolution in locomotory patterns of flying and swimming animals.