Spalletti admits to failures while managing retiring Totti