Capriles formally contests Venezuelan election result