INTRINSIC VOLUMES OF SETS OF SINGULAR MATRICES AND APPLICATIONS REAL ALGEBRAIC GEOMETRY