Basics of X-ray scattering by solutions