Russian attacks on Ukraine’s energy infrastructure caused nationwide outages during freezing temperatures, as US-brokered talks failed to curb the fighting.