EU governments’ belt-tightening plans come at a time when more investment is needed and growth is weak