Proposal for transduction between microwave and optical photons using $\mathrm{^{167}Er}$-doped yttrium orthosilicate