Towards realizing a quantum memory for a superconducting qubit: storage and retrieval of quantum states.