Marc Marquez secured his third pole position of the season to head an all-Spanish front row with Jorge Lorenzo and Dani Pedrosa.