Popularity-Aware Alignment and Contrast for Mitigating Popularity Bias