An inverse problem for a semilinear parabolic equation arising from cardiac electrophysiology