Harmonic and anharmonic contributions to parity-violating vibrational frequency difference between enantiomers of chiral molecules