Effect of applied stress, thermal environment and water in epoxy resins