Development and applications of multimillijoule soft X-ray lasers