San Marino rejects EU membership