Spain declares state of emergency as virus cases pass 4,200