Radio-to-UV monitoring of AO 0235+164 by the WEBT and Swift during the 2006-2007 outburst