Actively and passively mode-locked Nd:YAP laser with negative feedback using CdSe and GaAs