Orbifold Riemann surfaces: Teichmüller spaces and algebras of geodesic functions