Man who smeared himself with feces and attacked Lancaster officers sentenced to up to 12 years in prison