Potential energy curve in the trans—cis isomerization of glyoxal