Obtaining real parts of scattering amplitudes directly from cross section data using derivative analyticity relations