utils: added function to give time span in years for list of bibcode and remove unused function