The p-adic height pairings of Coleman-Gross and of Nekovar