Ab initio determination of lattice dynamics and thermodynamics of β - BC2N