Friend of ex-KPMG partner ‘profited substantially’ from stock tips