Weak Ferromagnetism in Magnetoelectrics LiCoPO4 and LiNiPO4