TJX's second-quarter sales beat estimates