generate string identifying week number of the year, for either ISO or CPAN weeks