Compartmental differential equations models of botnets and epidemic malware