FEMA leader resigns after criticism that he was difficult to reach during Texas flooding