Turkey has formally opened up a former Byzantine-era orthodox church and World Heritage Site as a mosque, drawing criticism from Greece.