Tesseroids: forward modeling gravitational fields in spherical coordinates