Static negative energies near a domain wall