An aggregation-induced blue shift of emission and the self-assembly of nanoparticles from a novel amphiphilic oligofluorene.