Chavez undergoes surgery in Cuba