A simple proof of the Rogers–Selberg identities