Magnetic structure and crystal field in cerium compounds with CsCl-type structure