Aspects of quantum entanglement in critical and topologically ordered systems