Continuous-wave and passively Q-switched pulse 1060 nm Nd:GdPO4 lasers