Marc Marquez extends title lead at the San Marino GP