Ethan Petry officially signs with Nats