Entanglement entropy in scalar field theory