The chocolate maker easily beats quarterly estimates but issues disappointing guidance because of higher cocoa prices.