Mechanism of resonant perfect optical absorption in dielectric film supporting metallic grating structures.