Analysis of the Quantum Spin Hall and Quantum Anomalous Hall Effects in a Two-Dimensional Decorated Lattice Using Entanglement Spectrum