US Secretary of Homeland Security Tom Ridge resigns