L.A. and Long Beach ports reopen