Effects of substrate preparation on properties of YBaCuO thin films