Preparation and microstructural characterization of nanosized Mo-TiO2 and Mo-W-O thin films by sputtering: tailoring of composition and porosity by thermal treatment