Determination of preferred orientation for sticking of polar molecules in beams incident on a graphite (0001) surface