Commissioning of the soft x-ray undulator beamline at the Siam Photon Laboratory