Text this: Methods of measurements of the quality factor of piezoelectric resonators with high electrical and mechanical losses