Entanglement Entropy In Ordered And Quantum Critical Systems