X-ray and electron diffraction studies of chemically vapour-deposited tin oxide films