Quantifying amorphous and crystalline phase content with the atomic pair distribution function