Polish government prepared to host up to a million Ukrainian refugees.