Mechanics and materials in the design of a buckling diaphragm wave energy converter