UV line intensity and flow velocity distributions in two coronal mass ejections as deduced by UVCS-SOHO observations