Scottish councillor guilty of having indecent images of chil