Internal properness and stability in linear systems