Upgrading to a new phone this year? These steps can help convert your old one into a free home security camera.