Polish town assesses damage after historic flooding