(a) for an act or omission which was not punishable by law at the time of the act or omission ; or (b) for a-, offence by a penalty greater than, or of a kind different from, the penalty prescribed by law for that offence at the time the offence was committed. ...