President, COAS discuss security situation, flood relief measures