Leaching of chalcopyrite with ferric ion. Part I: General aspects