Ed Miliband treated to catcalls and jeers at union gathering