Converse theorems: from the Riemann zeta function to the Selberg class