Hamilton doctor found guilty of running pill mill