The blow-up problem for a semilinear parabolic equation with a potential