Analyzing dynamics of citations for authors and publications