Interplay of cavity thickness and metal absorption in thin-film InGaN photonic crystal light-emitting diodes