Response to cosmic rays of the large-angle electromagnetic shower calorimeter of the CLAS detector