Cluster-glass behavior correlated with spin reorientation in Yb1−xPrxFeO3