Constitutional and legal status of the Republic of Karelia: formation and modern features