The angular distributions of gamma rays following (α, n) and (p, n) reactions