MotoGP world champion Marc Marquez has signed a two-year extension to his contract with Repsol Honda.