Design and fabrication of active and passive photonic crystal resonators