Two trains taking tourists to and from Peru's famed archaeological site of Machu Picchu have crashed, killing one person and injuring about 30 passengers.