Unions oppose Ed Miliband as chancellor