‘Big Bang Theory’ star Kaley Cuoco said she was ‘shocked’ when Jim Parsons announced he was leaving the show