An analysis of preferred orientation in YBa2Cu3O7–x superconducting films deposited by CVD on single-crystal and polycrystalline substrates