NHS contract tracing app 'will have unintended consequences'