Growth of polystyrene domains in isotropic, nematic and smectic phase of 8CB liquid crystal