Pa. budget impasse leads to credit downgrade