Threshold photoelectron spectroscopy and dissociative photoionization of benzonitrile