Companies to add new software to their smartphones to make it easier to locate those who may have been exposed to coronavirus; say their plan factors in user privacy, security