On boundary condition-induced states in low-dimensional semiconductor structures