Gaddafi vows to stay as blasts rock Tripoli