What are the theoretical principles underlying the design and analysis of sustainable building envelopes, including walls, roofs, and windows, to optimize thermal performance, daylighting, and indoor environmental quality while minimizing energy consumption and environmental impact?