A spectroscopic study of HCP, the phosphorus analogue of hydrocyanic acid