A comparative study about electronic structures at rubrene/Ag and Ag/rubrene interfaces