Cometary brightness variation and nucleus structure