Efficient and perfect state transfer in quantum chains