Dielectric confinement effect for exciton and biexciton states in PbI4-based two-dimensional semiconductor structures