The swelling of polymer systems in solvents. I. Method for obtaining complete swelling–time curves