Regulation of Chk1 kinase by autoinhibition and ATR-mediated phosphorylation