Fabrication of glass-based microfluidic devices with photoresist as mask