Angular dependence of photofragments from K‐shell excited N2 and O2: Photoabsorption anisotropy and excited state symmetry