Maldives declares state of emergency amid detention of opposition members