The Canadian dollar slumped to its lowest in two years against the US currency after Donald Trump surged to victory in the American presidential election.