Rowan Co. doctor loses license over improper pills