England levelled the Twenty20 series against South Africa with a 28-run victory in a rain-shortened third and final match at Edgbaston.