Geometrical tuning of photonic crystal defect lasers