UK home secretary resigns after 6 weeks in office