Medium effects on the properties of chemical systems: electric and magnetic rsponse of donor-acceptor systems within the polarizable continuum model