Rosberg beats Hamilton at Austrian GP