First-principles codes for Computational Crystallography in the Quantum-ESPRESSO package