Assessment of the Perdew–Burke–Ernzerhof exchange-correlation functional