Rochester cannabis grower sentenced to time in prison