Design of 2D photonic crystal biosensor to detect blood components