what country is bordered by poland and germany on the north side?