Supercritical carbon dioxide treatment of photoresists and plasma-damaged nanoporous low-k films