Entanglements at Polymer Surfaces and Interfaces