Substrate-induced effects in the creation and decay of potassium 2p core excitations in ultrathin films of KCl on copper