Comparing first-principles density functionals plus corrections for the lattice dynamics of YBa2Cu3O6