If you are already accustomed to Calibre, you could give a try to its full fledged ebook editor, that handles both epub
and azw
formats.
Having the source HTML files, it should be an easy task to import them in the editor and create the ebook, complete with a proper table of contents.
Some other related questions: