James Ramsey resigns as U of Louisville president