Tuning the peak effect in the Y1−xNdxBa2Cu3O7−δ compound