Ray analysis of electromagnetic field build-up and quality factor of electrically large shielded enclosures