Inverse quasifission in the reactions Gd156,160+W186