Determination of the defect density in thin film amorphous and microcrystalline silicon from ESR measurements: The influence of the sample preparation procedure