Time delays of strings in D-particle backgrounds and vacuum refractive indices