Atomistic simulations of the hcp-to-fcc transition in nanometer-sized Co domains embedded in a Cu matrix under different pressure and stress conditions