How IoT is inviting insurers into smart homes