Two men who filmed themselves inhaling laughing gas while reaching speeds of up to 139mph before a deadly high-speed crash have been jailed.