Length product of homologically independent loops for tori