Ukraine says it could boycott the Summer Games in Paris if Russian and Belarusian athletes take part.