Effective seismic wave velocities and attenuation in partially molten rocks