Official: Pirlo confirms retirement