Efficient Analytical Prediction of the Cavity Resonant Behavior of PEC-PMC Metallic Enclosures and Packages