Electronic and Optical properties of cadmium fluoride: the role of many-body effects