Signatures of selection and environmental adaptation across the goat genome post-domestication