Precursor silanization assisted synthesis and optical tuning of dual-phase perovskite nanocrystals embedded in silica matrix with high environmental stability.