A woman and a six-year-old girl have died in a Sydney house fire overnight while four others are receiving medical treatment in hospitals.