Knight shift and NMR in YBa2Cu3O7 — a mean field study