Children's wear company Carter's has upped its full-year guidance as it revealed higher earnings and sales in its second-quarter.