Man charged with capital murder in toddler's death