Angular Schmidt spectrum of entangled photons: Derivation of an exact formula and experimental characterization for noncollinear phase matching