Analysis of a photonic crystal cavity based on absorbent layer for sensing applications