The punishment which a court-martial may direct for an offense may not exceed limits prescribed by this code.