Shootouts and blasts erupt in Libyan capital