Japan's FamilyMart to buy small rival chain