3D-2D asymptotic analysis for micromagnetic thin films