Magnetoelectric properties of LiCoPO 4 and LiNiPO 4