The president of Columbia University has announced her resignation following months of criticism over her handling of protests on campus.