Fractons, symmetric gauge fields and geometry