Theory of the rf sheath in the regime between the ion and electron plasma frequencies