Phonon-assisted emission and absorption of individual color centers in hexagonal boron nitride