Design of Optical Nanobiosensors for Detection of Toxic Compounds and Pharmaceutical Products