Development of low-mass drift chambers for the HADES spectrometer