Generalized Dedekind symbols for modular forms of real weights