Milky Way and M31 rotation curves: ΛCDM versus MOND