Bulgarian government resigns after weeks of street protests