Marquez smashes track record en route to pole at German Grand Prix