Exploiting elastic anharmonicity in aluminum nitride matrix for phase-synchronous frequency reference generation