Nanoengineered polymeric capsules for bio-computing