Two-dimensional hydrogen molecule and the alternant-molecular-orbital approximation