A radial analogue of Poisson's summation formula with application to powder diffraction and pinwheel patterns