The Orientation of Domain Walls in Twinned Ferroelectric Crystals