Nick Clegg offered to resign as Liberal Democrat leader a year before the 2015 election, it has emerged.