Calculation of profiles of temperature and state of cure developed within the rubber mass in injection molding process