Tail-propelled aquatic locomotion in a therapod dinosaur