Texas Secretary of State resigns