Whose laws apply to international flights?

If an American accuses a Canadian of sexual assault aboard a U.S. airplane flying from London to New York, whose laws apply? The United States will certainly take an interest, but so may other countries, based on the people involved and the airspace where the crime...