Convergence and blow-up of solutions for a complex-valued heat equation with a quadratic nonlinearity