Evidence for large-scale winds from starburst galaxies. I - The nature of the ionized gas in M82 and NGC 253