Crystal structures and long-range antiferromagnetic ordering in REBa2Cu3O7-δ (RE=Yb, Nd)