Nonlinear mechanics of non-Euclidean solids