Fabrication of thin diamond membranes for photonic applications