Local-field correction of superlattices: exchange and correlation