Coherent risk measures and linear programming