Fracture of brittle solids as a free discontinuity problem