Detroit father sentenced to life for 2-year-old's death