Gluon condensation, entanglement entropy and phase transition from holography