Valtteri Bottas beat Lewis Hamilton to British GP pole by six-thousandths of a second, with Charles Leclerc just behind in an extremely close and tense Silverstone qualifying.