Enhancement of two-photon absorption cross section and singlet-oxygen generation in porphyrin-cored star polymers