Femtosecond and continuous-wave laser performance of a diode-pumped Yb3+:CaYAlO4 laser.