All-solid-state self-mode locking of a Nd:YLF laser