England and South Africa share trophy on soggy afternoon at Trent Bridge