Layer-by-layer films for tunable and rewritable control of contact electrification