Five dimensions of innovation: studying inventive activities through accounting and patent data