A quantum code in decoherence-free and interaction-free subspaces