Spain faces staggering losses as it accepts the reality of the housing bust