Light Interaction with Cold 87Rb Ground and Rydberg States via an Optical Nanofiber and in an Optical Resonator | Synapse