The Ricci tensor of almost parahermitian manifolds