Chavez warns foes against coup bid