A couple have been convicted in connection with the death of their four-old daughter.