Venezuela releases from prison some of the thousands detained after presidential election