Attachment and family functioning in patients with internet addiction.