Second-Order Cone and Semidefinite Representations of Material Failure Criteria