Inner shell excitation spectroscopy of transient molecules: HBS, HBO, and H3B3O3