Lewis Hamilton has claimed a home pole position at the 2015 British Grand Prix over teammate Nico Rosberg.