Measurement of the top quark mass