what is poland bordered by on the north?