Combinatorial convexity and mathematical morphology