An improved method to estimate the effective reproduction number of the COVID-19 pandemic: lessons from its application in Greece