Dominique Strauss-Kahn resigns as head of IMF