Tweeting or checking emails may be harder to resist than cigarettes and alcohol, study finds