TJX posts bigger-than-expected quarterly loss on store closures