Rational design of an “all-in-one” phototheranostic