who played the doctor on deep space nine