Defects, Solvent Quality, and Photonic Response in Lamellar Block Copolymer Gels