Code-division multiplexing of superconducting transition-edge sensor arrays