Post-common-envelope binaries from SDSS IX: Constraining the common-envelope efficiency