Generalized quantum measurements and approximate simultaneous measurements of noncommuting observables