Taiwan investigates claim mainland Chinese officials illegally visited on ‘exchange programmes’