Energy comparison websites will be regulated in a bid to end their alleged “licence to scam”, the energy consumers minister has said.