Hungary and Romania are increasingly relying on expensive power imports as heatwave conditions boost demand for electricity.