Spanish government imposes state of emergency in virus-hit Madrid