Encapsulation and stability properties of nanoengineered polyelectrolyte capsules for use as fluorescent sensors.