Study of intersubband transition in quantum dots and quantum dot infrared photodetectors