Measurement of photoionization cross sections of the excited states of titanium, cobalt, and nickel