Periodic density-functional calculations on work-function change induced by adsorption of halogens on Cu(111).