Electro-optical polarimeters for ground-based and space-based observations of the solar K-corona