Effect of stiffness on the phase behavior of cubic lattice chains