Development of beam emission spectroscopy diagnostic on EAST.