Authorities in Venezuela say they dismantled plans for a violent coup in recent days, including a planned assassination of Nicholas Maduro.