Former town clerk sentenced for stealing town funds