Structural basis for bacterial energy extraction from atmospheric hydrogen