Measurement of parameters in a mode‐locked and frequency‐doubled Nd : YAG laser using relaxation oscillations