Aqueous dispersion of polyurethanes containing ionic and nonionic hydrophilic segments