Reflected diffusion models adapt to low-dimensional data