Candidate in Venezuela shot dead ahead of election