Vogt, A’s wrap up shaky first half by beating Astros