Core–shell silica–rhodamine B nanosphere for synthetic opals: from fluorescence spectral redistribution to sensing