Stochastic embedding DFT: Theory and application to p-nitroaniline in water.