The fcc-hcp phase transition in electrodeposited epitaxial cobalt films