Phase‐Field Crystal Modeling of Homogeneous and Heterogeneous Crystal Nucleation