The provisions of this act apply only to persons convicted of crimes committed on or after the effective date of this act. A person convicted of a crime committed prior to the effective date of this act shall be subject to the law in effect at the time the crime was committed.