Man charged in 2-year-old foster child's death granted bond