Chromogenic and chemiluminescent substrates