The Mersey Docks and Harbour Company has bought Heysham Port Ltd from Sea Containers for £25m.