Proteome-wide mapping of sequence-function relationships using mistranslation