Effect of loss on slow-light enhanced absorption in liquid-infiltrated photonic crystals