Methods for determination of microwave cavity quality factors from equivalent electronic circuit models