Electrical conductivity of finite-size percolation networks