Measuring Coating Mechanical Quality Factors in a Layered Cantilever Geometry: a Fully Analytic Model