A smart theranostic nanocapsule for spatiotemporally programmable photo-genetherapy.