Domain perturbations, Brownian motion, capacities, and ground states of Dirichlet Schrödinger operators