Ex-mayor gets 6 years in prison for weed corruption in Mass.