On trial for child porn, dad claims he bought child sex doll to replace dead son