Group characters and nonnegative integral matrices