Shelton man sentenced to 12 years in prison for selling drugs