The unprecedented optical outburst of the quasar 3C 454.3. The WEBT campaign of 2004-2005