Alcoa and Pepsi's stronger-than-expected numbers come on the back of sharp cost-cutting and higher foreign sales.