Use of FTIR Analysis to Control the Self-Healing Functionality of Epoxy Resins