Central banks as lender of last resort: experiences during the 2007-2010 crisis and lessons for the future