Functional solid-state photonic droplets with interpenetrating polymer network and their applications to biosensors