Dr Pepper Snapple Group has posted a lift in net profits for its second quarter, despite a slight dip in sales.