First-principles study of H intercalation in rutile TiO2