Factors affecting the dye exclusion test for cell viability