Bottas pips Hamilton to pole as Hulkenberg shines