Crystal field and magnetic heat capacity in PrIn3 and CeIn3