Toddler hospitalized after shooting himself in the foot