High frequency oscillation in photonic crystal nanolasers