Close galaxy pairs with accurate photometric redshifts