Calabi-Yau extension and localization of Koszul regular algebras