Two Chinese mega-cities lift curbs on buying homes to shore