Resonant microwave power absorption in slabs