Near-quantum-limited amplification from inelastic Cooper-pair tunnelling