An approximation to the Woods–Saxon potential based on a contact interaction