Black holes, marginally trapped surfaces and quasi-minimal surfaces