Longitudinal double-spin asymmetry $A_1^{\rm p}$ and spin-dependent structure function $g_1^{\rm p}$ of the proton at small values of $x$ and $Q^2$