Dicyandiamide analysis and solubility in epoxy resins