The STAGE method for simultaneous design of the stress and geometry of flexure mechanisms