The punishment of a person who is convicted of an attempt to commit a crime may not exceed the maximum punishment for the crime attempted.