Synthesis, structure, and electronic structure of CsAgGa2Se4