Unitarily-invariant integrable systems and geometric curve flows in SU (n + 1)/U(n) and SO(2n)/U(n)