The effect of Processing on Hybrid Organic-Inorganic Perovskites and Solid-State Electrolytes for Use in Energy Production and Storage Devices