Loss due to radial offsets in dielectric optical waveguides with arbitrary index profiles