what country is bordered on the north by poland and geremany?