Magnetic properties of cerium ternary stannides and antimonides: frustration, correlations and short-range order