Mechanics of tunable helices and geometric frustration in biomimetic seashells