Implemented NamedPitch.invert() and NumberedPitch.invert().