Semiempirical structural model of the electric field gradients at oxygen nuclei in YBa2Cu3O7