A theoretical analysis of buffer occupancy for Intermittently-Connected Networks