Resonance energy transfer from beta-cyclodextrin-capped ZnO:MgO nanocrystals to included Nile Red guest molecules in aqueous media.