Generate RSA key pair in PEM format