3 hospitalized after early morning fire in York