Ed Miliband vows to boost UK energy security in wake of Iran war with new measures including ‘plug-in solar panels’