Design of photonic crystal based ring resonator for detection of different blood constituents