Fix typos (mostly in comments)

These typos were found using codespell.