The study of 670.7 nm red light generated by intracavity frequency doubling of a Q-switched Nd : YAlO3 laser