Nick Clegg resigns as leader of the Liberal Democrats