The bound polaron in a polar slab