when was the canadian pacific railway started and finished