Toddler hospitalized after falling through window of apartment building