Any person who attempts or conspires to commit any offense defined in this article shall be, upon conviction thereof, punished by imprisonment not exceeding the maximum punishment prescribed for the offense, the commission of which was the object of the attempt or conspiracy.