Jamming Detection on Block-fading Channels