Large-scale atomistic study of core structures and energetics of dislocations in hexagonal close packed metals