Vibronic coupling and optical coherence of single photon emitters in hexagonal boron nitride