Field stop diffraction and sampling effects in apodized pupil Lyot coronagraphs