Hamilton surprised by pole win