Preparation of epoxy hardeners from waste rigid polyurethane foam and their application