Valtteri Bottas took pole position for the 70th Anniversary Grand Prix, ahead of his Mercedes team-mate Lewis Hamilton.