Chirped-pulse amplification: the technology and its applications