Heating of H i Regions by Energetic Particles