Asymptotically de Sitter and anti-de Sitter Black Holes with Confining Electric Potential