R&D offshoring and the domestic science base in India and China