A technique for identifying textual errors and its application to the sources of music by Thomas Tallis