Gerry Adams retires from politics