Dynamic and nonlinear properties of epitaxial quantum-dot lasers on silicon operating under long- and short-cavity feedback conditions for photonic integrated circuits