Sebastian Vettel beats Fernando Alonso to pole for German grand prix