Achieving near-unity absorption in planar semiconductor film on metal substrate