Optical phenomena connected with intraband carrier transitions in quantum dots and quantum wells