Pakistan declares emergency due to rain-induced floods which have killed 937 people