It's a style choice: there's no "correct" and "incorrect" (except insofar as regional conventions may dictate). It's often said that putting the period (or comma) inside the quote mark is the "American" style and outside is the "British" style,
but several major UK newspapers, at least, use the supposed "American" style.*
I personally put the period in the position that seems most logical, which in your example is outside the quotes: the period is not logically a part of the name of the compounds.
*Edit: Sorry, I retract that. I was trawling around to remind myself what British publications did, but the examples I looked at were actually whole quoted sentences where the period logically is a part of the quoted material (and therefore different from your example). I wasn't paying attention.