van Kampen theorems for toposes