Frequency self-tuning of ZnO nanoresonator