We will intervene on energy bills ‘if necessary’, says Miliband