Plasmonic color generation and refractive index sensing with three-dimensional air-gap nanocavities.