Understanding The Optical Absorption And Photoluminescence Properties Of Halide Double Perovskites And Related Structures