The repeal of any law creating a criminal offense does not constitute a bar to the prosecution and punishment of an act already committed in violation of the law so repealed, unless the intention to bar such prosecution and punishment is expressly declared in the repealing act.