Process for monitoring the curing reaction of a polymeric matrix of a composite material