Emergency teams in Italy have rescued passengers from the carriages of a train that derailed near the northern city of Milan, leaving several people dead.