Jorge Martin wins German Moto3 Grand Prix