Cameron Jerome and Marouane Chamakh secured a third win in four games for Crystal Palace as they beat Cardiff 2-0.