After days of torrential rains, the French government has declared an emergency as floods hit parts of the country including the capital Paris.