Fix the copyright licences

Revert the changes to the copyright appendix of the MIT licence (as it
should not be changed), and remove the year range from the Apache
licence.