Poland is teeming with castles, from medieval fortresses to royal palaces and palatial monasteries. These buildings tell the country's story.