Reaction products containing urethane groups and urea groups