Effect of molecular weight of polystyrene on heat capacity and thermal transitions