West Coast dockworkers reach five-year pact