Stationary states of quadratic diffusion equations with long-range attraction