Selective layer reaction of layer-by-layer assembled layered double-hydroxide nanocrystals.