Correlation of changes in the outer‐zone relativistic‐electron population with upstream solar wind and magnetic field measurements