Cooperative Optical Transitions of Yb3+-Yb3+ and Gd3+-Yb3+ Ion Pairs in YbPO4 Hosts