NHS doctors operated on the wrong body part of nearly 100 patients during a six-month period last year, it has been revealed.