Computational implementation of the Kubo formula for the static conductance: Application to two-dimensional quantum dots