A fragment-cloud model for asteroid breakup and atmospheric energy deposition