US Defense Secretary Chuck Hagel resigns