Sam Palmisano, former CEO of IBM, on striking a balance between running a company for the long term and keeping investors happy.