A comparative study of epoxy resin cured with a linear diamine and a branched polyamine