Application and design of photon beam position monitor in HLS