Elucidating the Structure and Photophysics of Layered Perovskites through Cation Fluorination