Potential energy curve of the B 1Σu+ state of H2