Measuring main-ion temperatures in ASDEX upgrade using scattering of ECRH radiation