Weak economic data puts Spanish govt on defensive ahead of election