Shape transition in artificial tumors: from smooth buckles to singular creases.