The Ca II H and K Lines in dMe and non-dMe Stars