A stress function based viscoelastic model for relaxation of free edge stresses in composite laminates