Optimization of the in situ process for YBa2Cu3Ox films prepared by laser ablation