Homogenization of a modified bidomain model involving imperfect transmission