OPTIMIZATION OF ELECTRON SPIN POLARIZATION BY APPLICATION OF A BEAM-BASED ALIGNMENT TECHNIQUE IN THE HERA ELECTRON RING