Texture and stress profile in thick polysilicon films suitable for fabrication of microstructures