Polymerization of an epoxy resin modified with azobenzene groups monitored by near‐infrared spectroscopy