Coherent multi-mode dynamics in a quantum cascade laser: amplitude- and frequency-modulated optical frequency combs