Napolitano resigns as Homeland Security chief for job heading UC system