Antiferromagnetism in LiCoPO4 and LiNiPO4