Methodological framework for projecting the potential loss of intraspecific genetic diversity due to global climate change