Off-price retailer The TJX Companies has booked an increase in second-quarter earnings and upped its EPS guidance for the full year.