Which pair of countries that gained independence in the 20th century experienced the migration of millions of people across their shared borders due to religious tensions?