Study of solar flares’ latitudinal distribution during the solar period 2002–2017: GOES and RHESSI data comparison