Former Top Gear presenters Jeremy Clarkson, Richard Hammond and James May have signed a deal with Amazon to make a new show.