Density functional theory applied to metallic hydrogen: pair correlations and phase transitions