Variable-actuation, electro-hydraulic system and device controlling the valves of internal combustion engines