Studies on reactions of gamma lactones and preparation and use of diol and triol amides in polyurethane based formulations