Lewis Hamilton claims shock pole position at Hungarian Grand Prix