Phonon engineering for hot-carrier solar cells