Construction and test of a full-scale prototype of an ATLAS muon spectrometer tracking chamber