PM Nawaz Sharif visits flood-affected areas