Nonlinear interband and intersubband transitions in quantum dots for multiphoton photodetectors