England beat Sri Lanka by 18 runs on the Duckworth-Lewis-Stern method after another ODI was hit by rain