Democrat Beshear is apparent winner in Kentucky governor's race