Insomnia risk rises and sleep duration drops the more you use a phone or tablet at bedtime, a new study finds.