Variational calculation of the spectrum of two-dimensionalφ4theory in light-front field theory