In-plane anisotropy of the resistivity in YBa2Cu3O7−δ single crystals with various doping conditions