Bond contributions to molecular refractive indices and Verdet constants