The effects of anionic impurities on the growth habit and optical properties of KDP